package com.ftg.learn.chapter13.newmodel;

/**
 * @author kangjx
 * @createTime 2022/8/8
 */
public class ChinaEnglishImpl extends EntryTable implements IDictory{

//    public ChinaEnglishImpl(){
//        super(new String[][]{
//                {}
//        });
//    }
    /**
     * 通过英语找汉语
     * @param word
     * @return
     */
    @Override
    public String findWord(String word) {
        return super.findWord(word,DicType.chinatoenglish);
    }

    @Override
    public void init(Entry[] entry) {
        super.add(entry);
    }
}
